import React from 'react'
import { Box } from '$components';

function BasicInfo() {

    const path = '/assets/files/'
    const data = [
        { title: '一级应急响应' },
        { title: '二级应急响应' },
        { title: '三级应急响应' },
        { title: '四级应急响应' },

    ]
    return <Box title={"防汛预案"} >

        <div className='prevent_doc'>
            <div className='doc_img'></div>
            {data.map(s => {
                return <div className='doc_container'>
                    <div className='flex-row flex-item-center'>
                        <div className='sorrow' />
                        <div className='doc_title'>{s.title}</div>
                        <div className='preview_doc' onClick={() => { window.open(path + s.title + '.pdf') }}>查看</div>
                    </div>
                    <div className='doc_bg' />
                </div>
            })}
        </div>
    </Box >
}

export default BasicInfo;


